package com.vodone.v1pin.component.productlist
{
	import flash.display.Graphics;
	
	import mx.containers.Canvas;
	import mx.controls.Label;
	
	public class CurrentRowLabel extends Label
	{
		public function CurrentRowLabel()
		{
			super();
			this.width = 80;
			this.height = 23;
			this.setStyle( "color" , 0xffffff );
			this.setStyle( "fontSize" , 12 );
			this.setStyle( "textAlign" , "center");
			this.setStyle( "paddingTop" , 2 );
		}
		protected override function updateDisplayList(w:Number, h:Number):void
		{
			super.updateDisplayList( w , h );
			var g:Graphics = this.graphics;
			g.clear();
			g.beginFill( 0x555555 , 0.5);
			g.drawRoundRect( 0 , 0 , w , h , 5 , 5 );
			g.endFill();
		}
	}
} 